<template>
  <el-table :data="towers?.data" border stripe>
    <el-table-column label="序号" type="index" width="80" align="center" />
    <el-table-column label="名称" prop="tName" width="100" align="center" />
    <el-table-column label="塔型" prop="tType" width="150" align="center" />
  </el-table>
</template>

<script setup lang="ts">
import useTower from '@/composables/useTower'

const prop = defineProps<{
  sectionId: number
}>()

const { all, towers } = useTower()

all({ sectionId: prop.sectionId })
</script>

<style></style>
